package com.kz.himalaya.interfaces;

import com.kz.himalaya.bean.HomeEntity;
import com.kz.himalaya.bean.HomeHotEntity;
import com.kz.himalaya.bean.HomeTabEntity;
import com.kz.himalaya.bean.details.DetailEntity;
import com.kz.himalaya.bean.details.DetailListEntity;
import com.kz.himalaya.bean.details.music.MusicEntity;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/1/23.
 */

public interface HttpService {
    //首页tab
    @GET("mobile/discovery/v2/tabs?device=android&version=5.4.75")
    Call<HomeTabEntity> getHomeTab();

    //首页热门焦点图等等数据
    @GET("mobile/discovery/v4/recommends?channel=and-inapp&device=android&includeActivity=true&includeSpecial=true&scale=2&version=5.4.75")
    Call<HomeEntity> getHomeData();

    //首页热门数据
    @GET("mobile/discovery/v3/recommend/hotAndGuess?code=43_310000_3100&device=android&version=5.4.75")
    Call<HomeHotEntity> getHomeHotData();
    //列表item详情播放列表数据
    @GET("mobile/v1/album")
    Call<DetailListEntity> getDetailList(@Query("albumId") long albumId);
    //列表item详情页详情数据
    @GET("mobile/v1/album/detail")
    Call<DetailEntity> getDetailData(@Query("albumId") long albumId);
    //播放页面音乐数据
    @GET("v1/track/ca/playpage/{trackId}/")
    Call<MusicEntity> getMusicData(@Path("trackId") long trackId);
}